﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using BusinessLogicLibrary;

namespace ServiceLibrary
{
    public class AuthenticateService : IAuthenticateService
    {
        private readonly AuthenticateModule _authenticateModule = new AuthenticateModule();
        public string RoleGet(string userName, string passWord)
        {
            return _authenticateModule.RoleGet(userName, passWord);
        }
    }

    [ServiceContract]
    public interface IAuthenticateService
    {
        [OperationContract]
        string RoleGet(string userName, string passWord);
    }
}
